package kr.hkit.androidcomplete03.ch28.common;

public class Item {
	
	private String itemName;
	private String itemMaker;
	private int itemPrice;
	
	public Item() {
		super();
	}
	
	public Item(String itemName, String itemMaker, int itemPrice) {
		super();
		this.itemName = itemName;
		this.itemMaker = itemMaker;
		this.itemPrice = itemPrice;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemMaker() {
		return itemMaker;
	}

	public void setItemMaker(String itemMaker) {
		this.itemMaker = itemMaker;
	}

	public int getItemPrice() {
		return itemPrice;
	}

	public void setItemPrice(int itemPrice) {
		this.itemPrice = itemPrice;
	}

	@Override
	public String toString() {
		return String.format("Item [itemName=%s, itemMaker=%s, itemPrice=%s]",
				itemName, itemMaker, itemPrice);
	}
	
}
